home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1996 #15 / Monster Media Number 15 (Monster Media)(July 1996).ISO / bbs_util / pfed_105.zip / SAMPLES.ZIP / PCBTEST.BAT < prev    next >
DOS Batch File  |  1995-06-19  |  908b  |  28 lines

  1. @echo off
  2. rem  ┌───────────────────────────┐ 
  3. rem  │ PCBOARD UPLOAD PROCESSING │
  4. rem  └───────────────────────────┘ 
  5. rem  %1 = filename
  6. rem  %2 = processing mode (UPLOAD/ATTACH/TEST)
  7. rem  %3 = output text file (file DIR)
  8. rem  %PCBDIR% = PCB node directory.  If using multi-nodes you 
  9. rem       should set the %PCBDIR% variable in the BOARD.BAT file.
  10. rem       (Ex: SET PCBDIR=D:\PCB\NODE1\)  Otherwise replace this
  11. rem       on the BOOMLAB command line with the PCB directory.
  12.  
  13. rem *** DELETE OLD TEMPORARY FILES **************************************
  14.  
  15. if exist %pcbdir%\pcbpass.txt DEL %pcbdir%\pcbpass.txt >nul
  16. if exist %pcbdir%\pcbfail.txt DEL %pcbdir%\pcbfail.txt >nul
  17. if "%1"=="" goto ENDTEST
  18. if "%2"=="" goto ENDTEST
  19. if "%3"=="" goto ENDTEST
  20. if not exist %1 goto ENDTEST
  21.  
  22. :BOOMLAB
  23. d:\pfed\boomlab d:\pfed\ %2 %1 %3 %PCBDIR%
  24.  
  25. :ENDTEST
  26. ECHO ■ Returning to PCBoard
  27. cd %pcbdir%
  28.